import time

for i in range(0, 101, 2):
    print("=========================开始下载=========================")
    if i == 100:
        print("下载完成")
        break
    else:
        print(f'{i}%[', "*" * (i // 2), ' ' * (50 - i // 2), ']')
        time.sleep(0.5)
